<?php
/*
 * @Author       : chaihao
 * @Date         : 2020-06-11 13:51:05
 * @FilePath     : /ai/models/PltfSendCard.php
 */

namespace app\models;

use Yii;

/**
 * This is the model class for table "user.user".
 *
 */
class PltfSendCard extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '`pltf.sendcard`';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['ID', 'fromID', 'toID', 'type'], 'integer'],
            [['name', 'company', 'position', 'email', 'phone'], 'String'],
            [['updatetime'], 'safe'],
        ];
    }
}
